package title;

import java.util.Scanner;

/**
 * @author 111
 * @version 1.0
 * @date 2025/4/14 19:21
 * @description
 */
public class Test01 {
        public static void main(String[] args) {
            Scanner input = new Scanner(System.in);
            System.out.print("请键盘输入字符串：");
            String str = input.next();

            StringBuilder s = new StringBuilder(str);
            str = s.reverse().toString();
            System.out.println("反转后：" + str);
            input.close();
        }
    }


